package com.woniuxy.microgoldservice.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @author hongbin
 * @date 2021-04-14 08:43
 * Description：
 */
@FeignClient(value = "cd-finance-micro-fixeddeposit-server")
public interface BuyRegularFeign {
    /**
     * 生成订单
     * @param orderBean
     * @return
     */
    @PostMapping("/regular/createFakeOrder")
    public String createFakeOrder (@RequestBody Map orderBean);
}
